export default class User {
    id: string;
    username: string;
    realname: string;
    onlineState: boolean;
    mobile: string;
    avatar: string;

    constructor(id: string, username: string, realname: string, onlineState: boolean, mobile: string, avatar: string) {
        this.id = id;
        this.username = username;
        this.realname = realname;
        this.onlineState = onlineState;
        this.mobile = mobile;
        this.avatar = avatar;
    }
}
